if ad
  if ad.length
    .pri_focus
        .gl1
          a(href='#{ad[0].url}', target='_blank')
            img(src='#{ad[0].img}', width='610', height='304')
        .gl2
          a(href='#{ad[1].url}', target='_blank')
            img(src='#{ad[1].img}', width='250', height='152')
        .gl3
          a(href='#{ad[2].url}', target='_blank')
            img(src='#{ad[2].img}', width='124', height='150', border='0')
        .gl4
          a(href='#{ad[3].url}', target='_blank')
            img(src='#{ad[3].img}', width='124', height='150')